package com.tn.controller.alarm.common.model.map;

import com.tn.controller.alarm.common.model.external.subsystem.vo.WeighInstructionsVO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 闸口标签
 *
 * @program: tn_aucy_java
 * @author: yangjiayao
 * @create: 2022/1/14
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class WeightTagVO {
    /**
     * 闸口ID
     */
    private String weightId;

    /**
     * 标签ID
     */
    private String tagId;

    /**
     * 车牌
     */
    private String license;

    /**
     * 货品
     */
    private String goods;

    /**
     * 时间
     */
    private String time;

    public WeightTagVO(WeighInstructionsVO weightInfo) {
        this.weightId = weightInfo.getWeightId();
        this.license = weightInfo.getLicense();
    }
}
